An Introduction to Three Algorithms for Sorting in Situ

نویسندگان

  • Edsger W. Dijkstra
  • A. J. M. van Gasteren
چکیده

The purpose of this paper is to introduce three algorithms for sorting in situ. They are dealt with in a single paper so that the introductions can share what they have in common; they are presented in the order of increasing complexity. The rest oi this section is devoted to the terminology that is used throughout this paper and to a central subalgorithm. We assume the reader to be familiar with the notion of a ‘sequence of elements’ and with the corresponding notion of a ‘successor’ or ‘predecessor’ of an element in the sequence. We define a chain to be a finite, non-empty sequence of elements, each having (or owning) an integer value. Each element with a successor in the chain is called the father of that successor; each element with a predecessor in the chain is called the son of that predecessor. The element without father is called the root of the chain, the: element without son is called the leaf of the chain. (Coincidence of root and leaf means the chain being a one-element chain.) The offspring of an element is a recursively defined set of elements: the offspring of a leaf is empty, the offspring of a father is its son together with that son’s offspring. Element e0 dominates element el means that e0 has a value that is at least the value owned by el ; element e dominates a set of elements means that e dominates each member of that set. For an element of a chain, the predicate strong means that the element dominates its offspring; a chain is descending means that each father in the chain dominates its son, and we leave to the reader to convince himself that “chain c is descending” is equivalent to

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Design, Development and Evaluation of an Orange Sorter Based on Machine Vision and Artificial Neural Network Techniques

ABSTRACT- The high production of orange fruit in Iran calls for quality sorting of this product as a requirement for entering global markets. This study was devoted to the development of an automatic fruit sorter based on size. The hardware consisted of two units. An image acquisition apparatus equipped with a camera, a robotic arm and controller circuits. The second unit consisted of a robotic...

متن کامل

An Adapted Non-dominated Sorting Algorithm (ANSA) for Solving Multi Objective Trip Distribution Problem

Trip distribution deals with estimation of trips distributed among origins and destinations and is one of the important stages in transportation planning. Since in the real world, trip distribution models often have more than one objective, multi-objective models are developed to cope with a set of conflict goals in this area. In a proposed method of adapted non-dominated sorting algorithm (ANS...

متن کامل

A knowledge-based NSGA-II approach for scheduling in virtual manufacturing cells

This paper considers the job scheduling problem in virtual manufacturing cells (VMCs) with the goal of minimizing two objectives namely, makespan and total travelling distance. To solve this problem two algorithms are proposed: traditional non-dominated sorting genetic algorithm (NSGA-II) and knowledge-based non-dominated sorting genetic algorithm (KBNSGA-II). The difference between these algor...

متن کامل

A Non-dominated Sorting Ant Colony Optimization Algorithm Approach to the Bi-objective Multi-vehicle Allocation of Customers to Distribution Centers

Distribution centers (DCs) play important role in maintaining the uninterrupted flow of goods and materials between the manufacturers and their customers.This paper proposes a mathematical model as the bi-objective capacitated multi-vehicle allocation of customers to distribution centers. An evolutionary algorithm named non-dominated sorting ant colony optimization (NSACO) is used as the optimi...

متن کامل

طبقه‌بندی پتانسیل‌های عمل نرونی با استفاده از شبکه‌های عصبی شعاعی

Background: Studying the behavior of a society of neurons, extracting the communication mechanisms of brain with other tissues, finding treatment for some nervous system diseases and designing neuroprosthetic devices, require an algorithm to sort neuralspikes automatically. However, sorting neural spikes is a challenging task because of the low signal to noise ratio (SNR) of the spikes. The mai...

متن کامل

Designing a New Multi-objective Model for a Forward/Reverse Logistic Network Considering Customer Responsiveness and Quality Level

In today’s competitive world, the need to supply chain management (SCM) is more than ever. Since the purpose of logistic problems is minimizing the costs of organization to create favorable time and place for the products, SCM seek to create competitive advantage for their organizations and increase their productivity. This paper proposes a new multi-objective model for integrated forward / rev...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Inf. Process. Lett.

دوره 15  شماره 

صفحات  -

تاریخ انتشار 1982